﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Wap/JQMMaster.Master" CodeBehind="GetScoreCard.aspx.cs" Inherits="ZLCMS.Web.Wap.Web.GetScoreCard" %>

<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
<%--<link href="/wap/Shop/css/my.css" rel="stylesheet" type="text/css" />--%>
<link href="css/card.css" rel="stylesheet" type="text/css" />

    <link rel="stylesheet" href="/wap/lib/validator-0.7.0/css/jquery.validator.css" />

    <script src="/Wap/lib/command/Command.js" type="text/javascript"></script>
    <script src="/Wap/lib/jquery/jquery.json-2.2.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="/wap/lib/validator-0.7.0/jquery.validator.js"></script>
    <script type="text/javascript" src="/wap/lib/validator-0.7.0/local/zh_CN.js"></script>
</asp:Content>


<asp:Content ID="Content3" ContentPlaceHolderID="main" runat="server">
<%--页面内容--%>

    <div data-role="page" id="mypage">
        <div data-role="header">
        <div class="header"></div>
        </div>
        <!--head-->
        <!--content-->
        <div data-role="main" class="ui-content">
        
        <form id="form1" command='ScoreCardRule'>
         <!--card begin-->
          <div class="user_card">
            <div class="con">
              <h3>领取积分卡</h3>
              <div class="logo" ><img src="images/card_logo.png" /></div>
              <div class="card_input">
                <div class="ui-field-contain">
                  <input name="textinput-fc" id="textinput-fc" placeholder="输入卡号" value="" type="text" command-param='CardNo'>
                   <input name="textinput-fc" id="text1" placeholder="输入兑换码" value="" type="text" command-param='Key'>
                </div>
              </div>
            </div>
          </div>


          <!--card btn-->
          <button class="ui-btn ui-btn-e" id="c_inp" type="button" onclick="executeFormCommonCommand('form1', succeedCallback)">领 取</button>
          <div class="card_line"></div>
          <div class="ui-corner-all custom-corners">
          <div class="ui-body ui-body-a ui-corner-all" style="margin:5px">
<h3>相关说明</h3>
      <p><%=CardRule.Memo %></p>
  </div>

</div>
          <div class="card_title"></div>
          <div class="card_txt"> </div>
         <input type=hidden  command-param='MemberAccount' value="<%=CurrentMemberAccount %>"/>
   <input type=hidden  command-param='OwnerAccount' value="<%=Owner %>"/>
   <input type=hidden  command-param='RuleId' value="<%=CardRule.Id %>"/>

</form>
        </div>
              
        </div>
        <!-- /footer -->
   

    <script type="text/javascript">
        $('#form1').openJQMValidator();


        function succeedCallback(result, totalCount) {
            showTips('领取成功', 2000);
        }
    </script>
</asp:Content>
